body {
  margin: 0;
  padding: 0;
  background: #000;
}
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: scale(1); //放大4倍可以铺满屏幕
 
}
.background .rotate {
  position: absolute;
  top: calc(50% - 400px);
  left: calc(50% - 400px);
  width: 800px;
  height: 800px;
  backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  animation: rotate 50s linear reverse infinite;
}
@keyframes rotate {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}
.background .rotate .sphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.background .rotate .sphere:nth-child(2) {
  transform: rotate(90deg);
}
.background .rotate .sphere:nth-child(3) {
  transform: rotate(45deg);
}
.background .rotate .sphere:nth-child(4) {
  transform: rotate(-45deg);
}
.background .rotate .sphere span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  background: radial-gradient(#ccc, #fff);
  border-radius: 50%;
}
.background .rotate .sphere span:nth-child(1) {
  transform: rotateY(0deg);
}
.background .rotate .sphere span:nth-child(2) {
  transform: rotateY(30deg);
}
.background .rotate .sphere span:nth-child(3) {
  transform: rotateY(60deg);
}
.background .rotate .sphere span:nth-child(4) {
  transform: rotateY(90deg);
}
.background .rotate .sphere span:nth-child(5) {
  transform: rotateY(120deg);
}
.background .rotate .sphere span:nth-child(6) {
  transform: rotateY(150deg);
}
